package com.sctvcloud.renhe.ui.adapter.holder;

import android.content.Context;
import android.view.View;

import com.ruihang.generalibrary.ui.widget.CustomFontTextView;
import com.sctvcloud.renhe.R;
import com.sctvcloud.renhe.beans.Titles;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * Created by Administrator on 2017/7/6.
 */

public class Hour24TitleHolder extends BaseAbsHolder<Titles> {
    @BindView(R.id.item_title_24_title)
    protected CustomFontTextView title;

    public Hour24TitleHolder(Context context, View itemView) {
        super(context, itemView);
    }

    @Override
    protected void initInject() {
        ButterKnife.bind(this, itemView);
    }

    @Override
    public void setData(Titles titles) {
        title.setText(titles.getDateString());
    }
}
